import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class MyTag extends StatelessWidget {
  final String tag;
  final double radius;

  MyTag(this.tag, this.radius);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: BoxDecoration(
          color: Colors.red,
          border: Border.all(color: Colors.red, width: 0),
          borderRadius: BorderRadius.circular(radius)),
      child: Padding(
        child: Text(
          '$tag',
          style: TextStyle(fontSize: 11, color: Colors.white),
        ),
        padding: EdgeInsets.symmetric(horizontal: 3),
      ),
    );
  }
}
